<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="A" method="post">
姓名:<input type="text" name="username"><br>
密码:<input type="password" name="password"><br>
爱好：
    <input type="checkbox" name="hobby" value="1">足球
    <input type="checkbox" name="hobby" value="2">篮球
    <input type="checkbox" name="hobby" value="3">排球
    <input type="checkbox" name="hobby" value="4">羽毛球
提交：<input type="submit" value="register">
</form>

</body>
</html>